package handlers

import (
	"gitee.com/daonna/video-copyright-blockchain/internal/services"
	"github.com/gin-gonic/gin"
)

func RegisterRoutes(r *gin.Engine, vs *services.VideoService) {
	vh := NewVideoHandler(vs)

	v1 := r.Group("/api/v1")
	{
		v1.POST("/videos", vh.CreateVideo)
		v1.GET("/videos/verify", vh.VerifyVideo)
	}
}
